/* Main Container */
.lobby-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5; 
}

/* Background Image (behind everything) */
.lobby-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.9;
}

.lobby-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Container */
.lobby-content {
    position: relative;
    z-index: 1; /* Above background */
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Centered Pet Display */
.pet-display-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.pet-layers {
    position: relative;
    width: 300px;
    height: 300px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pet-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Stats Display */
.pet-stats-top {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 2;
}

/* Action Bar */
.action-bar {
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 2;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    min-width: 60px;
}

.action-btn:hover {
    background-color: rgba(74, 111, 165, 0.1);
    transform: translateY(-3px);
}

.action-btn img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
    object-fit: contain;
}

.action-btn span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .pet-layers {
        width: 250px;
        height: 250px;
    }
    
    .action-btn {
        padding: 5px 8px;
    }
    
    .action-btn img {
        width: 20px;
        height: 20px;
    }
    
    .action-btn span {
        font-size: 11px;
    }
}